<!doctype html>
<html ng-app="ui.bootstrap.demo">
  <head>
    <script src="js/angular-1.2.16.js"></script>
    <script src="js/ui-bootstrap-tpls-0.12.1.js"></script>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-theme.min.css" rel="stylesheet">
    <script type="text/javascript">
    angular.module('ui.bootstrap.demo', ['ui.bootstrap']);
    angular.module('ui.bootstrap.demo').controller('AccordionDemoCtrl', function ($scope,$location) {
      $scope.login = function(){
    	  alert("12312");
    	  $location.go("sdsd");
      }
    });
    
    </script>
  </head>
  <body>

<div ng-controller="AccordionDemoCtrl">
   <form class="form-inline">
  <div class="form-group">
    <label class="sr-only" for="exampleInputEmail3">Email address</label>
    <input type="text" class="form-control" id="exampleInputEmail3" placeholder="Enter email">
    <label class="sr-only" for="exampleInputPassword3">Password</label>
    <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password">
  </div>
  <div class="checkbox">
    <label>
      <input type="checkbox"> Remember me
    </label>
  </div>
  <button type="submit" class="btn btn-default" ng-click="login()">Sign in</button>
</form>
</div>
  </body>
</html>
